"use strict";
/**
 * @author luzhenfang
 * @date 2020 04 27
 * @description TS 枚举类型
 */
var Sex;
(function (Sex) {
    Sex[Sex["man"] = 1] = "man";
    Sex[Sex["woman"] = 2] = "woman";
    Sex[Sex["unknow"] = 3] = "unknow";
})(Sex || (Sex = {}));
var Choice;
(function (Choice) {
    Choice[Choice["option1"] = 0] = "option1";
    Choice[Choice["option2"] = 1] = "option2";
    Choice[Choice["option3"] = 2] = "option3"; // 2
})(Choice || (Choice = {}));
console.log(Sex.man);
console.log(Sex.woman);
console.log(Sex.unknow);
var sex = Sex.unknow;
if (sex == Sex.man) {
    console.log("相等");
}
else {
    console.log("不相等");
}
